<!DOCTYPE html>
<html>
<head>
<base href="<?php  echo base_url();?>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="res/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="res/js/jquery-1.12.2.min.js"></script>
<script type="text/javascript" src="res/js/bootstrap.min.js"></script>
<title>更新数据</title>
<style type="text/css">

</style>
</head>
<body>
	<div class="container-fluid">
	<div class="row">
		<div class="col-md-2 col-sm-2 column">
		</div>
		<div class="col-md-6 col-sm-6 column">
			<div class="row">
				<ul class="breadcrumb">
					<li>
						<a href="#">首页</a> <span class="divider"></span>
					</li>
					<li>
						<a href="<?php echo site_url('xls/add')?>">导入Excel表数据</a> <span class="divider"></span>
					</li>
					<li class="active">
						<a href="<?php echo site_url('xls/update')?>">更新数据</a>
					</li>
				</ul>
			</div>
			<div class="row">
				<form class="form-horizontal" action="" method="post" enctype="multipart/form-data" role="form">
					<div class="form-group">
						 <label for="name" class="col-sm-3 control-label">选择文件：</label>
						<div class="col-sm-9">
							<input type="file" id="file" name="file">
						</div>
					</div>
					<div class="form-group">
					<div class="col-sm-offset-3 col-sm-9">
						 <button type="submit" id="upload" class="btn btn-default col-sm-6">更新数据</button>
					</div>
				</div>
				</form>
				<?php 
					if($has_file=="y"){
						echo "成功更新".$num."条数据";
					}
						
				?>
			</div>
		</div>
		<div class="col-md-4 col-sm-4 column">
		</div>
	</div>
	
</div>

</body>
</html>